﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/MasterPage.master" AutoEventWireup="true" CodeFile="AlterTrain.aspx.cs" Inherits="Manage_AlterTrain" %>
<%@ Register Src="~/Manage/CmsMessageBox.ascx" TagName="MessageBox" TagPrefix="cms" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
            $('#<%=Save.ClientID %>').click(function () {
                var ds = [{ 'Controller': '#<%=Amend.ClientID %>',
                    'Type': 'R',
                    'ErrorMessage': '请输入更新内容。',
                    'Clear': false,
                    'Focus': true
                }];

                return Cms_ValidateForm(ds);
            });
        });
    </script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="body" Runat="Server">
    <cms:MessageBox ID="MessageBox" runat="server" />
    <asp:HiddenField ID="TrainID" runat="server" />
    <table class="Info" cellspacing="1">
        <tr>
            <td align="right" style="width: 100px">更改内容：</td>
            <td>
                <asp:TextBox ID="Amend" runat="server" Width="500px" Height="80px" 
                    TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="Save" runat="server" Text="保存" 
                    CssClass="Button" onclick="Save_Click" /></td>
        </tr>
    </table>
</asp:Content>